from models import Book
from django.contrib import admin

class BookAdmin(admin.ModelAdmin):
    list_display = ['title', 'publication_date']
    search_fields = ('title',)

admin.site.register(Book,BookAdmin)
